package com.chuangke.common.data.builder;

public class DataBuildConfig {

	private boolean isMultiple = false ;//id是否存在多个值
	private String separator ;//多值分隔符
	private String idColumn;//obj的id字段
	private String nameColumn;//对应将名称字段设置上obj的name字段
	private String metaColumn ;//取值元数据的字段
	private String dictNameColumn ;//字典名称列

	public DataBuildConfig(String idColumn, String nameColumn) {
		this.idColumn = idColumn;
		this.nameColumn = nameColumn;
	}
	
	public DataBuildConfig(String idColumn, String nameColumn, String metaColumn) {
		super();
		this.idColumn = idColumn;
		this.nameColumn = nameColumn;
		this.metaColumn = metaColumn;
	}
	
	public DataBuildConfig(boolean isMultiple, String separator, String idColumn, String nameColumn) {
		super();
		this.isMultiple = isMultiple;
		this.separator = separator;
		this.idColumn = idColumn;
		this.nameColumn = nameColumn;
	}
	
	public DataBuildConfig(boolean isMultiple, String separator, String idColumn, String nameColumn,
			String metaColumn) {
		super();
		this.isMultiple = isMultiple;
		this.separator = separator;
		this.idColumn = idColumn;
		this.nameColumn = nameColumn;
		this.metaColumn = metaColumn;
	}

	public boolean isMultiple() {
		return isMultiple;
	}

	public void setMultiple(boolean isMultiple) {
		this.isMultiple = isMultiple;
	}

	public String getSeparator() {
		return separator;
	}

	public void setSeparator(String separator) {
		this.separator = separator;
	}

	public String getIdColumn() {
		return idColumn;
	}

	public void setIdColumn(String idColumn) {
		this.idColumn = idColumn;
	}

	public String getNameColumn() {
		return nameColumn;
	}

	public void setNameColumn(String nameColumn) {
		this.nameColumn = nameColumn;
	}

	public String getMetaColumn() {
		return metaColumn;
	}

	public void setMetaColumn(String metaColumn) {
		this.metaColumn = metaColumn;
	}

	public String getDictNameColumn() {
		return dictNameColumn;
	}

	public void setDictNameColumn(String dictNameColumn) {
		this.dictNameColumn = dictNameColumn;
	}
}